package com.xiao.xin.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(builderMethodName = "of")
@TableName("spring_ai_chat_memory")
public class ChatMemory {

    @TableId(type = IdType.AUTO)
    private Integer id;

    // 会话ID
    private String conversationId;
    private Integer userId;
    private String content;
    private String type;


}
